package cn.mazexal.exambg.models.converter;

import cn.mazexal.exambg.models.db.VipPriceDO;
import cn.mazexal.exambg.models.db.VipPriceGroupDO;
import cn.mazexal.exambg.models.vo.VipPriceGroupVO;
import cn.mazexal.exambg.models.vo.VipPriceVO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * User: Mazexal
 * Date: 2025/6/29
 */
@Mapper(componentModel = "spring")
public interface VipPriceConverter {
    VipPriceVO toView(VipPriceDO vipPriceDO);

    VipPriceDO toDb(VipPriceVO vipPriceVO);

    VipPriceGroupVO toGroupView(VipPriceGroupDO vipPriceGroupDO);

    VipPriceGroupDO toGroupDb(VipPriceGroupVO vipPriceGroupVO);
}
